package com.zch.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zch.dao.model.Trade;
import com.zch.dao.model.TradeExample;

public interface TradeMapper {
	int countByExample(TradeExample example);

	int deleteByExample(TradeExample example);

	int deleteByPrimaryKey(String id);

	int insert(Trade record);

	int insertSelective(Trade record);

	List<Trade> selectByExample(TradeExample example);

	Trade selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") Trade record,@Param("example") TradeExample example);

	int updateByExample(@Param("record") Trade record,@Param("example") TradeExample example);

	int updateByPrimaryKeySelective(Trade record);

	int updateByPrimaryKey(Trade record);

}
